package org.nepu.sc.template;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.lboot.jpa.jpa.AbstractJpaCurdExt;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
public class SafeExportServiceImpl extends AbstractJpaCurdExt<Long, SafeExport, SafeExportDAO> implements SafeExportService {
    @Override
    public List<SafeExport> getByTemplateVersion(String templateVersion) {
        return dao.findByTemplateVersion(templateVersion);
    }
}
